import {createGlobalState, useLocalStorage} from "@vueuse/core";

const useToken = createGlobalState(() => {
    const token = useLocalStorage('token', '');

    return {
        token
    }
})

export default useToken;